<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        div{
            width: 600px;
            height: 600px;
            border: 1px solid blue;
            margin: 50px auto;
            perspective: 1200px;
            -webkit-perspective: 1200px;
            transform-style: preserve-3d;
            -webkit-transform-style: preserve-3d;
        }
        img{
            width: 300px;
            height: 437px;
            display: block;
            box-shadow: -7px 10px 10px #333;
            transform: rotateX(60deg) rotateY(3deg) rotateZ(-25deg);
            margin: 50px auto 0;
            transform-origin: 50% 50% 100px;
            transition: all 1s ease;
         }
        img:hover{
            transform: rotate3d(0,0,0,0deg);
            box-shadow:-100px 100px 10px #fff;
        }
    </style>
</head>
<body>
    <div>
        <img src="img/phone.jpg" alt=""/>
    </div>
</body>
</html>